package com.victor.modular.system.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.victor.common.persistence.model.AudienceCode;
import com.victor.modular.system.transfer.AudienceCodeDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author victor
 * @since 2018-09-13
 */
public interface AudienceCodeDao extends BaseMapper<AudienceCode> {

    List<AudienceCode> businessTypeList();
    List<AudienceCode> industryTypeList();
    List<AudienceCode> propertyList();
    List<Map<String, Object>> list(@Param("params") AudienceCodeDto params);
}